<template>
  <div class="py-24">
    <van-cell-group>
      <van-cell title="商户账号" :value="dlsUserInfo.username" />
      <van-cell title="商户名称" :value="dlsUserInfo.realName" />
      <van-cell title="门店数" :value="dlsUserInfo.shopUserStatistics?.shopNum" />
      <van-cell title="员工数" :value="dlsUserInfo.shopUserStatistics?.staffNum" />
      <van-cell title="代理商(名称/联系方式)" :value="dlsUserInfo.agent" />
      <van-cell title="联系厂家" :value="dlsUserInfo.phone" />
    </van-cell-group>
  </div>
</template>

<script setup>
import { useStoreUser } from "@/store";
const storeUser = useStoreUser();
const dlsUserInfo = computed(() => {
  return storeUser.dlsUserInfo;
});
</script>

<style lang="less" scoped>
:deep(.van-field__label) {
  width: 120px;
  margin-right: 60px;
  label {
    display: inline-block;
    width: 100%;
    text-align-last: justify;
  }
}
</style>
